import {createApp} from 'vue';
import './style.css';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import 'highlight.js/styles/idea.css'
import "highlight.js/lib/common";
import router from './router/index.js';
import $axios from "@/utils/request.js";
import $clipboard from "@/utils/Clipboard.js";
import '@/router/permission.js';
import App from './App.vue';
// 引入依赖和语言
import highlightVuePlugin from "@highlightjs/vue-plugin";


// 创建Vue实例对象
const app = createApp(App);
app.config.globalProperties.$axios = $axios;
app.config.globalProperties.$clipboard = $clipboard;
app.use(router);
app.use(ElementPlus);
app.use(highlightVuePlugin);
app.mount('#app');